PGMB\ParseFormFields B

Total Complexity 95
Dependencies 24
Dependents 4
Total lines 474
Lines of code 309
Logical lines of code 185
Comment lines 80
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
getLocalPost()
A
38 15 60
get_media_item()
A
54 10 18
validate_wp_image_size()
S
51 6 25
sanitize_location()
S
58 5 16
get_media_items()
S
61 5 12
getLocations()
S
62 5 11
sanitize()
S
59 4 15
validate_image_props()
S
62 5 10
generate_placeholder_variables()
S
53 3 23
get_link_parsing_mode()
S
62 3 12
get_file_size_from_download()
S
62 3 12
get_local_file_size()
S
64 3 11
get_remote_file_size()
S
65 3 11
get_summary()
S
70 3 6
get_file_size_from_headers()
S
68 3 7
convert_webp()
S
58 2 14
is_repost()
S
78 2 3
get_content_image()
S
68 2 7
is_url_relative()
S
77 2 3
is_remote_mime_webp()
S
74 2 4
validate_external_image_size()
S
64 2 9
__construct()
S
71 2 6
get_file_size_from_path()
S
80 1 3
get_topic_type()
S
80 1 3
getPublishDateTime()
S
82 1 3
validate()
S
91 1 2
parse_placeholder_variables()
S
78 1 3